home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hydos10
/
goto
< prev
next >
Wrap
Text File
|
1991-04-14
|
624b
|
20 lines
GOTO
Transfers control of a batch file to a labelled line
The command after the line containing the appropriate label is executed.
The label cannot be on a line with any command.
COMMAND TYPE: Internal (batch) VERSION: 2.0 and up
USE: GOTO :label
In a batch file, a label is a word preceded by a colon (:). These
lines are ignored when the batch file is executed.
EXAMPLE: :begin
format a: /s
if errorlevel 0 goto end
echo An error occurred during formatting
:end
echo End of batch file